package com.jumi.microservice.enumerate;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * @author by mazhao
 * @Classname WalletType
 * @Description TODO
 * @Date 2020/7/21 9:13
 */
public enum IsImportEnum implements AbstractEnum<Byte> {

    /**
     *是否海外商品
     */
    NO(0,"否"),

    /**
     *
     */
    YES(1,"是");

    private Byte code;
    private String msg;

    IsImportEnum(int code, String msg) {
        this.code = (byte)code;
        this.msg = msg;
    }

    @Override
    public Byte getCode() {
        return code;
    }

    public void setCode(byte code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
